﻿@{
    ViewBag.Title = "Delete " + ViewBag.movieTitle;
}
@if (!String.IsNullOrWhiteSpace(ViewBag.error))
{
    <p class="alert alert-error">
        <pre>@ViewBag.error</pre>
    </p>
}
<p>
    Are you sure you want to delete the movie?</p>
<div class="form-actions">
    @Html.ActionLink("Yes - delete movie", "Delete", "Movie", new { id = ViewBag.id, delete = true }, new { @class = "btn btn-danger" })
    @Html.ActionLink("No - get me away from here!", "Index", "Movie", new { id = ViewBag.id }, new { @class = "btn" })
</div>